<?php
use core\Router;


/** @var Router $router */

$router->group('user', function(Router $router) {
    $router->namespace('app\api');
    $router->middleware(\app\middleware\Group::class);

    $router->get('login', 'User@login', \app\middleware\Route::class);
    $router->get('logout', 'User@logout');
});
